# -*- coding:UTF-8 -*-
def yield_demo():
	"""docstring for yield_demo"""
	alist = [1,2,3]
	print 'test'
	for i in alist:
		yield i*i

if __name__ == '__main__':
	for i in yield_demo():
		print i
